<!-- footer for work -->
 	<%- unless @work.parents.blank? -%>
 	<div id="parents">
 	  <p><%=h "Inspired by:".t -%><p>
 	  <ul>
 	  <%- for parent in @work.parents -%>
 	    <li><%= link_to parent.title, parent %></li>
 	    <%- if is_author_of?(@work) -%>
    		<%= link_to 'Remove relationship'.t, {:controller => :related_works, :action => :destroy, :parent_id => parent.id, :work_id => @work.id},  :confirm => 'Are you sure?'.t, :method => :delete %>
    	<%- end -%>
 	  <%- end -%>
 	  </ul>
	</div>
 	<%- end -%>
 	
 	<%- unless @work.approved_children.blank? -%>
 	<div id="children">
 	  <p><%=h "Works inspired by this one:".t -%><p>
 	  <ul>
 	  <%- for child in @work.approved_children -%>
 	    <li><%= link_to child.title, child %></li>
 	    <%- if is_author_of?(@work) -%>
    		<%= link_to 'Remove link'.t, {:controller => :related_works, :action => :update, :parent_id => @work.id, :work_id => child.id}, :method => :put %>
    	<%- end -%>
 	  <%- end -%>
 	  </ul>
	</div>
 	<%- end -%>
<!-- end of footer for work -->
